package com.zero.mapper;

import com.zero.entity.Admin;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AdminMapper {

    int add(Admin admin);

    int delete(int id);

    int update(Admin admin);

    List<Admin> select(Admin admin);

    Admin selectById(int id);

}
